﻿namespace AdminSytem.Application
{
    public class ResultDto
    {
        public StatusCode StatusCode { get; set; }
        public string Message { get; set; }
    }
    public class ResultDto<T>
    {
        public StatusCode StatusCode { get; set; }
        public T Data { get; set; }
        public string Message { get; set; }
    }
    public enum StatusCode
    {
        Success=200,
        Faield=400
    }
}
